package com.yaorange.module.association.service.impl;

import com.yaorange.module.association.mapper.BsWxUserMapper;
import com.yaorange.module.association.service.BsWxUserService;
import com.yaorange.pojo.BsWxUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 微信用户信息 Service 实现类
 */
@Service
public class BsWxUserServiceImpl implements BsWxUserService {

    @Autowired
    private BsWxUserMapper bsWxUserMapper;

    @Override
    public List<BsWxUser> selectList(BsWxUser bsWxUser) {
        return bsWxUserMapper.selectList(bsWxUser);
    }

    @Override
    public BsWxUser selectById(Long id) {
        return bsWxUserMapper.selectById(id);
    }

    @Override
    public int insert(BsWxUser bsWxUser) {
        return bsWxUserMapper.insert(bsWxUser);
    }

    @Override
    public int updateById(BsWxUser bsWxUser) {
        return bsWxUserMapper.updateById(bsWxUser);
    }

    @Override
    public int deleteById(Long id) {
        return bsWxUserMapper.deleteById(id);
    }
}
